package Decorator;

/**
 * @ProjectName: 23种设计模式
 * @Package: Decorator
 * @ClassName: Main
 * @Author: renhan
 * @Description:
 * @Date: 2020/11/29 16:18
 * @Version: 1.0
 */
public class Main {
    public static void main(String[] args){
        Car car = new RunCar();
        car = new FlyCarDecorator(car);
//        car = new SwinCarDecorator(car);
        car.show();
    }
}
